<?php include('/includes/header.php');?>
<?php include(inc('sql.php'));?>
<?php include(inc('repository.php'));?>
<?php
	parameters_check($_REQUEST['record_id']);
	$record_id = intval($_REQUEST['record_id']);
?>
<div id="main">
	<span class="panel_title">
		<span>记单词</span>
	</span>
	<div class="content">
		<!--quiz 1-->
		<div id="quiz_1" class="quiz">
			<div class="q corner">
				<div class="word"></div>
				<div class="definition"></div>
			</div>
			<div class="a corner">
				<label for="spell">请拼写单词</label>
				<input type="text" id="spell" class="corner"/>
				<img src="/assets/images/correct.png" align="top" class="hidden correct" />
			</div>
		</div>
		<!--quiz 2-->
		<div id="quiz_2" class="quiz">
			<div class="q corner">
				<div class="word"></div>
				<div class="definition"></div>
			</div>
			<div class="a corner">
				<div>请将打乱的字母顺序排列正确</div>
				<div class="shuffle_wrapper"></div>
				<img src="/assets/images/correct.png" align="top" class="hidden correct" />
				<div class="clear"></div>
			</div>
		</div>
		<!--quiz 3-->
		<div id="quiz_3" class="quiz">
			<div class="q corner">
				<div class="word"></div>
			</div>
			<div class="a corner">
				<div>请选择正确的解释</div>
				<div class="definitions">
					
				</div>
			</div>
		</div>
	</div>
	<input type="hidden" id="data_record_id" value="<?php e($record_id)?>"/>
</div>
<div id="learning_loading" class="hidden">
	<img src="/assets/images/ajax-loader.gif" width="31" height="31" alt="加载中"/>
</div>
<div id="sidebar" class="go_next hidden">

</div>
<script type="text/javascript" src="/assets/javascripts/voca.course.js"></script>
<script type="text/javascript" src="/assets/javascripts/jquery.dragsort.min.js"></script>
<script type="text/javascript">
	$(function(){
		VocaCourse.quiz();
	});
</script>
<?php get_footer();?>